import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('../views/Login/index.vue')
  },
  // {
  //   path: '/newEquipment',
  //   name: 'NewEquipment',
  //   component: () => import('../views/NewEquipment/index.vue')
  // },
  // {
  //   path: '/ballMachineTask',
  //   name: 'BallMachineTask',
  //   component: () => import('../views/BallMachineTask/index.vue')
  // },
  // {
  //   path: '/tabsPage',
  //   name: 'TabsPage',
  //   component: () => import('../views/TabsPage/index.vue')
  // },
]

const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
})

export default router
